import '../../../api/api.dart';

enum LayoutState {
  Loading,
  Content,
  Error,
  NoNet,
}

enum FooterState {
  Loading,
  Error,
  NoMore,
}

typedef DataCallback = void Function(dynamic data);
typedef HandleDataCallback = dynamic Function(dynamic data);
typedef ErrorCallback = void Function(dynamic data, ServerResponse response);